package com.august.service;

import com.august.bean.Department;
import com.august.dao.DepartmentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author : Crazy_August
 * @description :
 * @Time: 2022-02-13   18:19
 */
@Service
public class DepartmentService {

    @Autowired
    DepartmentMapper departmentMapper;

    public List<Department> getAllDependencies() {
        return departmentMapper.queryAllDepartment();
    }

}
